<?php
namespace Admin\Model;

use Think\Model;

class VersionModel extends Model {

    /**
     * 检测版本号是否重复
     */
    public function checkRepeat($versionString) {
        return (bool) ($this->where("version_string = {$versionString}")->find());
    }


}